//
//  AlertaViewController.m
//  ViagemBem
//
//  Created by Rodrigo Morbach on 28/10/13.
//  Copyright (c) 2013 Michel de Sousa Carvalho. All rights reserved.
//

#import "AlertaViewController.h"

@interface AlertaViewController ()

@end

@implementation AlertaViewController

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
	// Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

//Método público
+ (void)showAlertUser:(NSString*)msg header:(NSString*)msgm;
{
    UIAlertView *alertView = [[UIAlertView alloc] initWithTitle:msgm message:msg delegate:nil cancelButtonTitle:@"Ok" otherButtonTitles: nil];
    [alertView show];
}

@end
